package com.qf.ithub.user;


import com.qf.ithub.common.config.Swagger2Config;
import com.qf.ithub.common.exception.ControllerExceptionAdvice;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Import;

@SpringBootApplication
@MapperScan("com.qf.ithub.user.mapper")
@Import({
        ControllerExceptionAdvice.class,
        Swagger2Config.class
})
public class UserApplication {

    public static void main(String[] args) {
        SpringApplication.run(UserApplication.class,args);
    }
}
